<form name="frmGallery" method="post" enctype="multipart/form-data" action="<?php echo base_url(); ?>secu/organization/doaddgallery/<?php echo $sect_id; ?>/<?php echo $sect; ?>">
    <table border="0" width="100%">
<?php
    for ($i = 0; $i < $gallery_image_count; $i++) :
?>
    <tr>
        <td><input type="file" name="txtGallery[]" size="70" /></td>
    </tr>
<?php
    endfor;
?>
        <tr>
            <td><input type="submit" name="btnAdd" value="Add to Gallery" /></td>
        </tr>
    </table>
</form>